package com.xbongbong.pro.statistics.model.impl;

import com.xbongbong.paas.domain.entity.ext.CkPaasFormDataEntityExt;
import com.xbongbong.pro.domain.dao.StarPaasFormDataDao;
import com.xbongbong.pro.statistics.model.StarPaasDataModel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 描述信息
 *
 * @ClassName StarPaasDataModelImpl
 * @Author 梁鲁江
 * 创建时间 2022/8/29 14:23
 * 修改时间  2022/8/29 14:23
 **/
@Service("starPaasDataModel")
public class StarPaasDataModelImpl implements StarPaasDataModel {
    @Resource
    private StarPaasFormDataDao starPaasFormDataDao;
    
    @Override
    public List<Map<String, Object>> findListMapBySql(String sql) {
        return starPaasFormDataDao.findListMapBySql(sql);
    }

    @Override
    public List<CkPaasFormDataEntityExt> findEntitysBySql(String sql) {
        return starPaasFormDataDao.findEntitysBySql(sql);
    }

    @Override
    public Integer countBySql(String sql) {
        return starPaasFormDataDao.countBySql(sql);
    }
}
